<!DOCTYPE html>
<html ng-app="myApp" ng-controller="namesCtrl">
	<head> 
		<meta charset="UTF-8">
		<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
		<title></title>
	</head>
	<body>
		<div >
		
		<p>循环对象：</p>
		<ul>
		  <li ng-repeat="x in names">
		  	<!--{{x.name|uppercase}}-->
		    {{ x.name  + ', ' + x.country }}
		  </li>
		</ul>	  
		</div> 
 		<script src="controller/namesController.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
